﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="BankTeller.BankTellerModule.CustomerQueueView"
    Height="370" Width="189" BorderThickness="0,0,1,0" Foreground="{x:Null}">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="..\..\BankTellerStyles.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
	<DockPanel>

		<Border DockPanel.Dock="Top" x:Name="DetailsHeaderBorder" Background="{DynamicResource SolidBrush}" BorderThickness="1,1,1,0" CornerRadius="10,10,0,0" BorderBrush="{DynamicResource BorderBrush}">
			<DockPanel x:Name="DetailsHeader">
				<TextBlock x:Name="NameHeader" Text="My Customers" Style="{DynamicResource HeaderStyle}" FontWeight="Bold" Height="23.94" Margin="5,10,10,10" Width="Auto" TextTrimming="CharacterEllipsis" HorizontalAlignment="Center" DockPanel.Dock="Left"/>
			</DockPanel>
		</Border>

		<Border  Background="{DynamicResource PanelGradientBrush}" Style="{DynamicResource BorderStyle}" x:Name="DetailsBodyBorder" BorderThickness="1,0,1,1" CornerRadius="0,0,10,10" Height="Auto" Width="{Binding Path=ActualWidth, ElementName=DetailsHeaderBorder, Mode=Default}">
			<DockPanel>
				<Border x:Name="DetailsInfo" DockPanel.Dock="Top" Style="{DynamicResource DetailsBorderStyle}" Margin="0,0,0,0" BorderThickness="0,1,0,0" CornerRadius="0,0,0,0" Padding="0,0,0,0" Height="Auto" Opacity="1" Background="{x:Null}">
					<StackPanel Background="{x:Null}" Margin="0,0,0,0">

						<Border BorderBrush="{DynamicResource BorderBrush}">
							<Grid Margin="15,10,15,5">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto" MinWidth="90" MaxWidth="100"/>
									<ColumnDefinition Width="*"/>
								</Grid.ColumnDefinitions>
								<Button x:Name="btnNextCustomer" Click="OnAcceptCustomer" Content="Accept Customer" Style="{DynamicResource BlackButtonStyle}" BorderBrush="{DynamicResource DefaultedBorderBrush}" BorderThickness="0,1,0,1" Foreground="#FFFFFFFF" Padding="0,0,0,1" Margin="14,-3,22,3" ClickMode="Press" Grid.ColumnSpan="2" Width="Auto"/>
							</Grid>
						</Border>

						<Border BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,1,0,0" Height="239">
							<ListBox x:Name="listCustomers" SelectionChanged="OnCustomerSelectionChanged" FontSize="12" FontWeight="Bold" Background="{DynamicResource MyBlueGradientBrush}" OpacityMask="{DynamicResource MyBlueGradientBrush}" OverridesDefaultStyle="False" BorderThickness="0,0,0,0" ItemTemplate="{DynamicResource ItemTemplateHorizontal}" Width="188" Height="300" Foreground="#FFFFFFFF" />
						</Border>
					</StackPanel>
				</Border>
			</DockPanel>
		</Border>
		<Grid/>
	</DockPanel>
</UserControl>

